What is who wrote i never been to spain?

"I've Never Been to Spain" is a song written by Hoyt Axton. Axton was an American country singer-songwriter and actor known for writing several popular songs, including "Joy to the World" and "The Pusher." The song "I've Never Been to Spain" was first recorded by Three Dog Night in 1971 and became a hit, reaching number five on the US Billboard Hot 100 chart. Since then, the song has been covered by several other artists, including Elvis Presley and Waylon Jennings.